var optionsMenuItems = [ 
                         { text: 'Logout',
                           func: userLogout,
                           params: { } }
                       ];

function userLogout() { window.location = makeAjaxURL( { argList: [ 'user', 'logout' ] } ); }
